package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.partyschool.PartySchoolGetDto;
import com.teacher.pojo.entity.PartySchool;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.partyschool.PartySchoolGetVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 业余党校 Mapper 接口
 * </p>
 *
 * @author zfm
 * @since 2021-08-04
 */
public interface PartySchoolMapper extends BaseMapper<PartySchool> {

    /**
     * 查询业余党校
     *
     * @param page
     * @param dto
     * @return
     */
    IPage<PartySchoolGetVo> getPage(@Param("page") Page<PartySchoolGetVo> page, @Param("dto") PartySchoolGetDto dto);
}
